package xian.woniu.entity;

import java.util.ArrayList;
import java.util.List;

public class DoctorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DoctorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDidIsNull() {
            addCriterion("did is null");
            return (Criteria) this;
        }

        public Criteria andDidIsNotNull() {
            addCriterion("did is not null");
            return (Criteria) this;
        }

        public Criteria andDidEqualTo(Integer value) {
            addCriterion("did =", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotEqualTo(Integer value) {
            addCriterion("did <>", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThan(Integer value) {
            addCriterion("did >", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThanOrEqualTo(Integer value) {
            addCriterion("did >=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThan(Integer value) {
            addCriterion("did <", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThanOrEqualTo(Integer value) {
            addCriterion("did <=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidIn(List<Integer> values) {
            addCriterion("did in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotIn(List<Integer> values) {
            addCriterion("did not in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidBetween(Integer value1, Integer value2) {
            addCriterion("did between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotBetween(Integer value1, Integer value2) {
            addCriterion("did not between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andDepidIsNull() {
            addCriterion("depid is null");
            return (Criteria) this;
        }

        public Criteria andDepidIsNotNull() {
            addCriterion("depid is not null");
            return (Criteria) this;
        }

        public Criteria andDepidEqualTo(Integer value) {
            addCriterion("depid =", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidNotEqualTo(Integer value) {
            addCriterion("depid <>", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidGreaterThan(Integer value) {
            addCriterion("depid >", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidGreaterThanOrEqualTo(Integer value) {
            addCriterion("depid >=", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidLessThan(Integer value) {
            addCriterion("depid <", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidLessThanOrEqualTo(Integer value) {
            addCriterion("depid <=", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidIn(List<Integer> values) {
            addCriterion("depid in", values, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidNotIn(List<Integer> values) {
            addCriterion("depid not in", values, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidBetween(Integer value1, Integer value2) {
            addCriterion("depid between", value1, value2, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidNotBetween(Integer value1, Integer value2) {
            addCriterion("depid not between", value1, value2, "depid");
            return (Criteria) this;
        }

        public Criteria andDnameIsNull() {
            addCriterion("dname is null");
            return (Criteria) this;
        }

        public Criteria andDnameIsNotNull() {
            addCriterion("dname is not null");
            return (Criteria) this;
        }

        public Criteria andDnameEqualTo(String value) {
            addCriterion("dname =", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotEqualTo(String value) {
            addCriterion("dname <>", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameGreaterThan(String value) {
            addCriterion("dname >", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameGreaterThanOrEqualTo(String value) {
            addCriterion("dname >=", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLessThan(String value) {
            addCriterion("dname <", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLessThanOrEqualTo(String value) {
            addCriterion("dname <=", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameLike(String value) {
            addCriterion("dname like", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotLike(String value) {
            addCriterion("dname not like", value, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameIn(List<String> values) {
            addCriterion("dname in", values, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotIn(List<String> values) {
            addCriterion("dname not in", values, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameBetween(String value1, String value2) {
            addCriterion("dname between", value1, value2, "dname");
            return (Criteria) this;
        }

        public Criteria andDnameNotBetween(String value1, String value2) {
            addCriterion("dname not between", value1, value2, "dname");
            return (Criteria) this;
        }

        public Criteria andDcardIsNull() {
            addCriterion("dcard is null");
            return (Criteria) this;
        }

        public Criteria andDcardIsNotNull() {
            addCriterion("dcard is not null");
            return (Criteria) this;
        }

        public Criteria andDcardEqualTo(String value) {
            addCriterion("dcard =", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardNotEqualTo(String value) {
            addCriterion("dcard <>", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardGreaterThan(String value) {
            addCriterion("dcard >", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardGreaterThanOrEqualTo(String value) {
            addCriterion("dcard >=", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardLessThan(String value) {
            addCriterion("dcard <", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardLessThanOrEqualTo(String value) {
            addCriterion("dcard <=", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardLike(String value) {
            addCriterion("dcard like", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardNotLike(String value) {
            addCriterion("dcard not like", value, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardIn(List<String> values) {
            addCriterion("dcard in", values, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardNotIn(List<String> values) {
            addCriterion("dcard not in", values, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardBetween(String value1, String value2) {
            addCriterion("dcard between", value1, value2, "dcard");
            return (Criteria) this;
        }

        public Criteria andDcardNotBetween(String value1, String value2) {
            addCriterion("dcard not between", value1, value2, "dcard");
            return (Criteria) this;
        }

        public Criteria andDtelIsNull() {
            addCriterion("dtel is null");
            return (Criteria) this;
        }

        public Criteria andDtelIsNotNull() {
            addCriterion("dtel is not null");
            return (Criteria) this;
        }

        public Criteria andDtelEqualTo(String value) {
            addCriterion("dtel =", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelNotEqualTo(String value) {
            addCriterion("dtel <>", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelGreaterThan(String value) {
            addCriterion("dtel >", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelGreaterThanOrEqualTo(String value) {
            addCriterion("dtel >=", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelLessThan(String value) {
            addCriterion("dtel <", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelLessThanOrEqualTo(String value) {
            addCriterion("dtel <=", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelLike(String value) {
            addCriterion("dtel like", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelNotLike(String value) {
            addCriterion("dtel not like", value, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelIn(List<String> values) {
            addCriterion("dtel in", values, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelNotIn(List<String> values) {
            addCriterion("dtel not in", values, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelBetween(String value1, String value2) {
            addCriterion("dtel between", value1, value2, "dtel");
            return (Criteria) this;
        }

        public Criteria andDtelNotBetween(String value1, String value2) {
            addCriterion("dtel not between", value1, value2, "dtel");
            return (Criteria) this;
        }

        public Criteria andDageIsNull() {
            addCriterion("dage is null");
            return (Criteria) this;
        }

        public Criteria andDageIsNotNull() {
            addCriterion("dage is not null");
            return (Criteria) this;
        }

        public Criteria andDageEqualTo(Integer value) {
            addCriterion("dage =", value, "dage");
            return (Criteria) this;
        }

        public Criteria andDageNotEqualTo(Integer value) {
            addCriterion("dage <>", value, "dage");
            return (Criteria) this;
        }

        public Criteria andDageGreaterThan(Integer value) {
            addCriterion("dage >", value, "dage");
            return (Criteria) this;
        }

        public Criteria andDageGreaterThanOrEqualTo(Integer value) {
            addCriterion("dage >=", value, "dage");
            return (Criteria) this;
        }

        public Criteria andDageLessThan(Integer value) {
            addCriterion("dage <", value, "dage");
            return (Criteria) this;
        }

        public Criteria andDageLessThanOrEqualTo(Integer value) {
            addCriterion("dage <=", value, "dage");
            return (Criteria) this;
        }

        public Criteria andDageIn(List<Integer> values) {
            addCriterion("dage in", values, "dage");
            return (Criteria) this;
        }

        public Criteria andDageNotIn(List<Integer> values) {
            addCriterion("dage not in", values, "dage");
            return (Criteria) this;
        }

        public Criteria andDageBetween(Integer value1, Integer value2) {
            addCriterion("dage between", value1, value2, "dage");
            return (Criteria) this;
        }

        public Criteria andDageNotBetween(Integer value1, Integer value2) {
            addCriterion("dage not between", value1, value2, "dage");
            return (Criteria) this;
        }

        public Criteria andDsexIsNull() {
            addCriterion("dsex is null");
            return (Criteria) this;
        }

        public Criteria andDsexIsNotNull() {
            addCriterion("dsex is not null");
            return (Criteria) this;
        }

        public Criteria andDsexEqualTo(String value) {
            addCriterion("dsex =", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexNotEqualTo(String value) {
            addCriterion("dsex <>", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexGreaterThan(String value) {
            addCriterion("dsex >", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexGreaterThanOrEqualTo(String value) {
            addCriterion("dsex >=", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexLessThan(String value) {
            addCriterion("dsex <", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexLessThanOrEqualTo(String value) {
            addCriterion("dsex <=", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexLike(String value) {
            addCriterion("dsex like", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexNotLike(String value) {
            addCriterion("dsex not like", value, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexIn(List<String> values) {
            addCriterion("dsex in", values, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexNotIn(List<String> values) {
            addCriterion("dsex not in", values, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexBetween(String value1, String value2) {
            addCriterion("dsex between", value1, value2, "dsex");
            return (Criteria) this;
        }

        public Criteria andDsexNotBetween(String value1, String value2) {
            addCriterion("dsex not between", value1, value2, "dsex");
            return (Criteria) this;
        }

        public Criteria andDhospitalIsNull() {
            addCriterion("dhospital is null");
            return (Criteria) this;
        }

        public Criteria andDhospitalIsNotNull() {
            addCriterion("dhospital is not null");
            return (Criteria) this;
        }

        public Criteria andDhospitalEqualTo(String value) {
            addCriterion("dhospital =", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalNotEqualTo(String value) {
            addCriterion("dhospital <>", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalGreaterThan(String value) {
            addCriterion("dhospital >", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalGreaterThanOrEqualTo(String value) {
            addCriterion("dhospital >=", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalLessThan(String value) {
            addCriterion("dhospital <", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalLessThanOrEqualTo(String value) {
            addCriterion("dhospital <=", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalLike(String value) {
            addCriterion("dhospital like", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalNotLike(String value) {
            addCriterion("dhospital not like", value, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalIn(List<String> values) {
            addCriterion("dhospital in", values, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalNotIn(List<String> values) {
            addCriterion("dhospital not in", values, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalBetween(String value1, String value2) {
            addCriterion("dhospital between", value1, value2, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDhospitalNotBetween(String value1, String value2) {
            addCriterion("dhospital not between", value1, value2, "dhospital");
            return (Criteria) this;
        }

        public Criteria andDaddressIsNull() {
            addCriterion("daddress is null");
            return (Criteria) this;
        }

        public Criteria andDaddressIsNotNull() {
            addCriterion("daddress is not null");
            return (Criteria) this;
        }

        public Criteria andDaddressEqualTo(String value) {
            addCriterion("daddress =", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressNotEqualTo(String value) {
            addCriterion("daddress <>", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressGreaterThan(String value) {
            addCriterion("daddress >", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressGreaterThanOrEqualTo(String value) {
            addCriterion("daddress >=", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressLessThan(String value) {
            addCriterion("daddress <", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressLessThanOrEqualTo(String value) {
            addCriterion("daddress <=", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressLike(String value) {
            addCriterion("daddress like", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressNotLike(String value) {
            addCriterion("daddress not like", value, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressIn(List<String> values) {
            addCriterion("daddress in", values, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressNotIn(List<String> values) {
            addCriterion("daddress not in", values, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressBetween(String value1, String value2) {
            addCriterion("daddress between", value1, value2, "daddress");
            return (Criteria) this;
        }

        public Criteria andDaddressNotBetween(String value1, String value2) {
            addCriterion("daddress not between", value1, value2, "daddress");
            return (Criteria) this;
        }

        public Criteria andDimageIsNull() {
            addCriterion("dimage is null");
            return (Criteria) this;
        }

        public Criteria andDimageIsNotNull() {
            addCriterion("dimage is not null");
            return (Criteria) this;
        }

        public Criteria andDimageEqualTo(String value) {
            addCriterion("dimage =", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageNotEqualTo(String value) {
            addCriterion("dimage <>", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageGreaterThan(String value) {
            addCriterion("dimage >", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageGreaterThanOrEqualTo(String value) {
            addCriterion("dimage >=", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageLessThan(String value) {
            addCriterion("dimage <", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageLessThanOrEqualTo(String value) {
            addCriterion("dimage <=", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageLike(String value) {
            addCriterion("dimage like", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageNotLike(String value) {
            addCriterion("dimage not like", value, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageIn(List<String> values) {
            addCriterion("dimage in", values, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageNotIn(List<String> values) {
            addCriterion("dimage not in", values, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageBetween(String value1, String value2) {
            addCriterion("dimage between", value1, value2, "dimage");
            return (Criteria) this;
        }

        public Criteria andDimageNotBetween(String value1, String value2) {
            addCriterion("dimage not between", value1, value2, "dimage");
            return (Criteria) this;
        }

        public Criteria andDCertificateIsNull() {
            addCriterion("d_certificate is null");
            return (Criteria) this;
        }

        public Criteria andDCertificateIsNotNull() {
            addCriterion("d_certificate is not null");
            return (Criteria) this;
        }

        public Criteria andDCertificateEqualTo(String value) {
            addCriterion("d_certificate =", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateNotEqualTo(String value) {
            addCriterion("d_certificate <>", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateGreaterThan(String value) {
            addCriterion("d_certificate >", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateGreaterThanOrEqualTo(String value) {
            addCriterion("d_certificate >=", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateLessThan(String value) {
            addCriterion("d_certificate <", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateLessThanOrEqualTo(String value) {
            addCriterion("d_certificate <=", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateLike(String value) {
            addCriterion("d_certificate like", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateNotLike(String value) {
            addCriterion("d_certificate not like", value, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateIn(List<String> values) {
            addCriterion("d_certificate in", values, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateNotIn(List<String> values) {
            addCriterion("d_certificate not in", values, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateBetween(String value1, String value2) {
            addCriterion("d_certificate between", value1, value2, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andDCertificateNotBetween(String value1, String value2) {
            addCriterion("d_certificate not between", value1, value2, "dCertificate");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andEducationIsNull() {
            addCriterion("education is null");
            return (Criteria) this;
        }

        public Criteria andEducationIsNotNull() {
            addCriterion("education is not null");
            return (Criteria) this;
        }

        public Criteria andEducationEqualTo(String value) {
            addCriterion("education =", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotEqualTo(String value) {
            addCriterion("education <>", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThan(String value) {
            addCriterion("education >", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThanOrEqualTo(String value) {
            addCriterion("education >=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThan(String value) {
            addCriterion("education <", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThanOrEqualTo(String value) {
            addCriterion("education <=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLike(String value) {
            addCriterion("education like", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotLike(String value) {
            addCriterion("education not like", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationIn(List<String> values) {
            addCriterion("education in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotIn(List<String> values) {
            addCriterion("education not in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationBetween(String value1, String value2) {
            addCriterion("education between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotBetween(String value1, String value2) {
            addCriterion("education not between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andSchoolIsNull() {
            addCriterion("school is null");
            return (Criteria) this;
        }

        public Criteria andSchoolIsNotNull() {
            addCriterion("school is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolEqualTo(String value) {
            addCriterion("school =", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolNotEqualTo(String value) {
            addCriterion("school <>", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolGreaterThan(String value) {
            addCriterion("school >", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolGreaterThanOrEqualTo(String value) {
            addCriterion("school >=", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolLessThan(String value) {
            addCriterion("school <", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolLessThanOrEqualTo(String value) {
            addCriterion("school <=", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolLike(String value) {
            addCriterion("school like", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolNotLike(String value) {
            addCriterion("school not like", value, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolIn(List<String> values) {
            addCriterion("school in", values, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolNotIn(List<String> values) {
            addCriterion("school not in", values, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolBetween(String value1, String value2) {
            addCriterion("school between", value1, value2, "school");
            return (Criteria) this;
        }

        public Criteria andSchoolNotBetween(String value1, String value2) {
            addCriterion("school not between", value1, value2, "school");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}